package com.timerecording.dao.login;


import com.timerecording.domain.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Mapper
@Repository
public interface LoginDao {

/**重置密码
 * @description: TODO
 * @author smz
 * @version 1.0
 * @date 2025/1/28
 */

Integer updatePassword(@Param("employeeId") Long employeeId, @Param("password") String password);


    /**  在用户user表中查询登录人是否存在
     * @description: TODO
     * @author smz
     * @version 1.0
     * @date 2025/7/21
     */

    UserEntity findUser(@Param("loginName") String loginName, @Param("loginPwd")String loginPwd);
}
